package com.xiashitech.apiservice.service;

import com.xiashitech.apiservice.dao.model.DataWaterMarkConfig;
import com.xiashitech.apiservice.dto.Pager;
import com.xiashitech.apiservice.dto.Result;

import cn.hutool.json.JSONObject;

import java.util.*;

public interface IDataWaterMarkConfigService {
    public int insertDataWaterMarkConfig(DataWaterMarkConfig dataWaterMarkConfig);

    public DataWaterMarkConfig getDataWaterMarkConfigByPath(String apiPath);

    public DataWaterMarkConfig getDataWaterMarkConfigById(Long id);

    public List<DataWaterMarkConfig> getDataWaterMarkConfigListPage(Pager<DataWaterMarkConfig> pager);

    public List<DataWaterMarkConfig> getDataWaterMarkConfigList(DataWaterMarkConfig dataWaterMarkConfig);

    public int updateDataWaterMarkConfig(DataWaterMarkConfig dataWaterMarkConfig);

    public int deleteDataWaterMarkConfig(List<Long> ids);

    public long getDataWaterMarkConfigCount(Map<String, Object> conditions);

    public Result<JSONObject> getWaterMarkMode(String systemId);

}
